Woocommerce\Pagarme\Model\Payment\Data\PaymentRequest S

Total Complexity 22
Dependencies 12
Dependents 2
Total lines 185
Lines of code 77
Logical lines of code 42
Comment lines 55
Methods 14
Properties 7

Methods 14

Method Rating Maintainability Complexity Lines of code
init()
S
61 4 12
setCards()
S
71 2 6
setBillet()
S
71 2 6
setPix()
S
71 2 6
setGooglepayToken()
S
71 2 6
setGooglepay()
S
71 2 6
__construct()
S
61 1 11
getConstants()
S
75 1 4
setPaymentMethod()
S
72 1 5
getPaymentMethod()
S
80 1 3
setShippingMethod()
S
79 1 3
getShippingMethod()
S
80 1 3
setShippingAddress()
S
79 1 3
setBillingAddress()
S
79 1 3